home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / Xaw / SimpleP.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  3KB  |  103 lines

  1. /***********************************************************
  2.  
  3.  $Xorg: SimpleP.h,v 1.4 2001/02/09 02:03:45 xorgcvs Exp $
  4.  
  5.  
  6. Copyright 1987, 1988, 1994, 1998  The Open Group
  7.  
  8. Permission to use, copy, modify, distribute, and sell this software and its
  9. documentation for any purpose is hereby granted without fee, provided that
  10. the above copyright notice appear in all copies and that both that
  11. copyright notice and this permission notice appear in supporting
  12. documentation.
  13.  
  14. The above copyright notice and this permission notice shall be included in
  15. all copies or substantial portions of the Software.
  16.  
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  20. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  21. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23.  
  24. Except as contained in this notice, the name of The Open Group shall not be
  25. used in advertising or otherwise to promote the sale, use or other dealings
  26. in this Software without prior written authorization from The Open Group.
  27.  
  28.  
  29. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  30.  
  31.                         All Rights Reserved
  32.  
  33. Permission to use, copy, modify, and distribute this software and its 
  34. documentation for any purpose and without fee is hereby granted, 
  35. provided that the above copyright notice appear in all copies and that
  36. both that copyright notice and this permission notice appear in 
  37. supporting documentation, and that the name of Digital not be
  38. used in advertising or publicity pertaining to distribution of the
  39. software without specific, written prior permission.  
  40.  
  41. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  42. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  43. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  44. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  45. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  46. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  47. SOFTWARE.
  48.  
  49. ******************************************************************/
  50. /* $XFree86: xc/lib/Xaw/SimpleP.h,v 1.12 2001/12/14 19:54:43 dawes Exp $ */
  51.  
  52. #ifndef _SimpleP_h
  53. #define _SimpleP_h
  54.  
  55. #include <X11/Xfuncproto.h>
  56.  
  57. #include <X11/Xaw/Simple.h>
  58.  
  59. _XFUNCPROTOBEGIN
  60.  
  61. #include <X11/Xaw/XawInit.h>
  62.  
  63. typedef struct {
  64.     Bool (*change_sensitive)(Widget);
  65. #ifndef OLDXAW
  66.     XtPointer extension;
  67. #endif
  68. } SimpleClassPart;
  69.  
  70. #define XtInheritChangeSensitive    ((Bool (*)(Widget))_XtInherit)
  71.  
  72. typedef struct _SimpleClassRec {
  73.     CoreClassPart    core_class;
  74.     SimpleClassPart    simple_class;
  75. } SimpleClassRec;
  76.  
  77. extern SimpleClassRec simpleClassRec;
  78.  
  79. typedef struct {
  80.     /* resources */
  81.     Cursor cursor;
  82.     Pixmap insensitive_border;
  83.     String cursor_name;            /* cursor specified by name */
  84.     Pixel pointer_fg, pointer_bg;    /* Pointer colors */
  85.     Boolean international;
  86.  
  87.     /* private */
  88. #ifndef OLDXAW
  89.     XawDisplayList *display_list;
  90.     String tip;
  91.     XtPointer pad[3];    /* for future use and keep binary compatability */
  92. #endif
  93. } SimplePart;
  94.  
  95. typedef struct _SimpleRec {
  96.     CorePart    core;
  97.     SimplePart    simple;
  98. } SimpleRec;
  99.  
  100. _XFUNCPROTOEND
  101.  
  102. #endif /* _SimpleP_h */
  103.